package com.zrf.dubbo.service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.zrf.dubbo.model.Customer;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * @author zhouruifeng
 * @date 2018/5/18
 */
@Service
public class CustomerRefService {
    @Reference
    private CustomerService customerService;

    public Customer findById(BigDecimal id) {
        return customerService.findById(id);
    }
}
